package com.jaay.starter;

import com.jaay.utils.CalculateUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;

/**
 * @author chencanfeng
 */
@EnableMongoRepositories(basePackages = {"com.jaay.repository"})
@ComponentScan(basePackages = {"com.jaay"})
@SpringBootApplication
public class Application {

    public static void main(String[] args) {

        SpringApplication.run(Application.class,args);

    }
}
